package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user_info")
public class UserInfo {
    //配置主键
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer userId;

    //用户名
    private String userName;

    //密码
    private String userPwd;

    //盐
    private String salt;

    //电话
    private String phone;



    //邮箱
    private String email;

    //验证码
    @TableField(exist = false)
    private String code;


}
